projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d00f19
)
testsuite: Avoid a compiler warning
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Jun 2021 13:37:45 +0000
(09:37 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Jun 2021 13:37:45 +0000
(09:37 -0400)
This was showing up in ci on macos.
testsuite/gdk/clipboard-client.c
patch
|
blob
|
history
diff --git
a/testsuite/gdk/clipboard-client.c
b/testsuite/gdk/clipboard-client.c
index b27da9220502d50e9e0947bac27739ee867df5ac..07a3961e5a801013eaaa0825150486e9e0ecfb47 100644
(file)
--- a/
testsuite/gdk/clipboard-client.c
+++ b/
testsuite/gdk/clipboard-client.c
@@
-318,7
+318,6
@@
do_it (GObject *object,
int
main (int argc, char *argv[])
{
- GtkWidget *window;
gboolean done = FALSE;
if (argc < 2)
@@
-355,6
+354,8
@@
main (int argc, char *argv[])
#ifdef GDK_WINDOWING_WAYLAND
if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default ()))
{
+ GtkWidget *window;
+
window = gtk_window_new ();
gtk_window_present (GTK_WINDOW (window));
handler = g_signal_connect (window, "notify::is-active", G_CALLBACK (do_it), NULL);